<script>

$(function () {

    var form = new Vue({
        el:'#form',
        data:{
            detail:window.detail,
            extra_finish_in:window.extra_finish_in,
            extra_nothing_fee:window.extra_nothing_fee,
            extra_repair_free:window.extra_repair_free,
            extra_floor_free:window.extra_floor_free,
            extra_carry_fee:window.extra_carry_fee,
//            extra_again_fee:window.extra_again_fee,
            extra_far_fee:window.extra_far_fee,
        },
        mounted:function(){
            $('select[name=extra_finish_in]').val(this.detail.extra_finish_in);
            $('select[name=extra_nothing_fee]').val(this.detail.extra_nothing_fee);
            $('select[name=extra_repair_free]').val(this.detail.extra_repair_free);
            $('select[name=extra_floor_free]').val(this.detail.extra_floor_free);
            $('select[name=extra_carry_fee]').val(this.detail.extra_carry_fee);
//            $('select[name=extra_again_fee]').val(this.detail.extra_again_fee);
            $('select[name=extra_far_fee]').val(this.detail.extra_far_fee);

            $('input[name=extra_tmall_examine]').attr('checked',Boolean(this.detail.extra_tmall_examine));
            $('input[name=extra_storage]').attr('checked',Boolean(this.detail.extra_storage));
            $('input[name=extra_move_free]').attr('checked',Boolean(this.detail.extra_move_free));
        },
        methods:{
        }
    });

    var validator = $("#form").validate({
        rules: {
        },
        messages: {
        },
        submitHandler: function(form) {
            form.submit();
        },
    });
});
</script>
<style>
</style>